package com.bigbigrain.manage_course.dao;

import com.bigbigrain.framework.domain.system.SysDictionary;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * @description:
 * @author: B1gB1gRA1n
 * @create: 2019-12-3 15:40
 **/
@Repository
public interface SysDictionaryDao extends MongoRepository<SysDictionary,String> {
    /**
     * 根据字典分类查询字典信息
     * @param dType
     * @return
     */
    SysDictionary findBydType(String dType);
}